package com.wanxi.system;


public class PrintEven {
    public static void main(String[] args) {
        System.out.println("111");
        printEven();
        System.out.println("222");
    }

    private static void printEven() {
        int a = 0;
        while (a < 10) {
            a++;
            if (a % 2 == 0) {
                System.out.println("偶数");
            } else {
                System.out.println("奇数");
            }

        }
    }

}
